package com.hxtec.polaris;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
import tk.mybatis.spring.annotation.MapperScan;

@EnableTransactionManagement
@EnableSwagger2
@SpringBootApplication
@MapperScan(value = "com.hxtec.polaris.mapper")
@EnableCaching
@EnableJpaAuditing
@EnableScheduling
@EnableAspectJAutoProxy
public class PolarisApplication {

    public static void main(String[] args) {
        SpringApplication.run(PolarisApplication.class, args);
    }

}
